package com.member.shop.dto;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.util.Date;

/**
 * 优惠券规则对象 sys_biz_coupon
 *
 * @author lixinchen
 * @date 2024-05-08
 */
@Data
public class ExternalCouponOldDto {

    @JsonProperty("ID")
    private int id;

    @JsonProperty("UserCode")
    private String userCode;

    @JsonProperty("CouponCode")
    private String couponCode;

    @JsonProperty("SelectPro")
    private String selectPro;

    @JsonProperty("SelectSys")
    private String selectSys;

    @JsonProperty("IsState")
    private Integer isState;

    @JsonProperty("WayID")
    private String wayID;

    @JsonProperty("OnDate")
    private Date onDate;

    @JsonProperty("OffDate")
    private Date offDate;

    @JsonProperty("UseDate")
    private Date useDate;

    @JsonProperty("CreateTime")
    private Date createTime;

    @JsonProperty("StrOffTime")
    private String strOffTime;

    @JsonProperty("PriceType")
    private int priceType;

    @JsonProperty("FundRecordingID")
    private int fundRecordingID;

    @JsonProperty("CouponType")
    private int couponType;

    @JsonProperty("DisplayCode")
    private String displayCode;

    @JsonProperty("Title")
    private String title;

    @JsonProperty("SubTitle")
    private String subTitle;

    @JsonProperty("Code")
    private String code;

    @JsonProperty("CardType")
    private int cardType;

    @JsonProperty("TypeID")
    private int typeID;

    @JsonProperty("isout")
    private int isout;

    @JsonProperty("CouponVal")
    private double couponVal;

    @JsonProperty("Getlimit")
    private int getlimit;
}
